home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / ply15dat.zip / SWEEP2.PI < prev    next >
Text File  |  1992-09-19  |  686b  |  34 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0,7,-10>
  7.    at <0,0,0>
  8.    up <0,1,0>
  9.    angle 45
  10.    resolution 128, 128
  11.    }
  12. include "..\colors.inc"
  13. background midnight_blue
  14. light <5, 20, -10>
  15.  
  16. define sweep_object
  17. object {
  18.    sweep 2, <0, 1, 0>, 12,
  19.       <2, -1>, <3, -1>, <3.4, -2>, <4, -1.1>, <3.6, -0.9>,
  20.       <2.6, 0>,
  21.       <3.6, 0.9>, <4, 1.1>, <3.4, 2>, <3, 1>, <2, 1>,
  22.       <2, -1>
  23.    u_steps 16
  24.    shiny_red
  25.    }
  26.  
  27. object {
  28.      sweep_object
  29.    * object { box <-5, 0, -5>, <5, 1, 5> shiny_green }
  30.    translate <-3, -0.7, 0>
  31.    scale <1.2, 10, 1.2>
  32.    rotate <-90, 25, 0>
  33.    }
  34.